package com.xin.ruanjian.omsystem.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by local123 on 2018/2/17.
 */

public class IndexBean {

    /**
     * state : 0
     * msg : {"shop":[{"shoppic":"11","shophead":"123","flag":"1","distance":"","shopsale":5,"city":" 1","latitude":0,"county":" 1","opentime":"08:00","province":" 1","addtime":{"date":6,"hours":22,"seconds":11,"month":1,"nanos":0,"timezoneOffset":-480,"year":118,"minutes":35,"time":1517927711000,"day":2},"shopname":"第一家饭店","shopid":1,"shopphone":"15230868185","shopstars":5,"longitude":0,"status":"3"},{"shoppic":"11","shophead":"123","flag":"1","distance":"","shopsale":5,"city":" 1","latitude":0,"county":" 1","opentime":"08:00","province":" 1","addtime":{"date":6,"hours":22,"seconds":11,"month":1,"nanos":0,"timezoneOffset":-480,"year":118,"minutes":35,"time":1517927711000,"day":2},"shopname":"第一家饭店","shopid":2,"shopphone":"15230868185","shopstars":5,"longitude":0,"status":"3"},{"shoppic":"11","shophead":"123","flag":"1","distance":"","shopsale":5,"city":" 1","latitude":0,"county":" 1","opentime":"08:00","province":" 1","addtime":{"date":6,"hours":22,"seconds":11,"month":1,"nanos":0,"timezoneOffset":-480,"year":118,"minutes":35,"time":1517927711000,"day":2},"shopname":"第一家饭店","shopid":3,"shopphone":"15230868185","shopstars":5,"longitude":0,"status":"3"},{"shoppic":"11","shophead":"123","flag":"1","distance":"","shopsale":5,"city":" 1","latitude":0,"county":" 1","opentime":"08:00","province":" 1","addtime":{"date":6,"hours":22,"seconds":11,"month":1,"nanos":0,"timezoneOffset":-480,"year":118,"minutes":35,"time":1517927711000,"day":2},"shopname":"第一家饭店","shopid":4,"shopphone":"15230868185","shopstars":5,"longitude":0,"status":"3"}],"banner":[{"shoppic":"11","shophead":"123","flag":"1","distance":"","shopsale":5,"city":" 1","latitude":0,"county":" 1","opentime":"08:00","province":" 1","addtime":{"date":6,"hours":22,"seconds":11,"month":1,"nanos":0,"timezoneOffset":-480,"year":118,"minutes":35,"time":1517927711000,"day":2},"shopname":"第一家饭店","shopid":1,"shopphone":"15230868185","shopstars":5,"longitude":0,"status":"3"}]}
     */

    private int state;
    private MsgBean msg;

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public MsgBean getMsg() {
        return msg;
    }

    public void setMsg(MsgBean msg) {
        this.msg = msg;
    }

    public static class MsgBean {
        private List<ShopBean> shop;
        private List<BannerBean> banner;

        public List<ShopBean> getShop() {
            return shop;
        }

        public void setShop(List<ShopBean> shop) {
            this.shop = shop;
        }

        public List<BannerBean> getBanner() {
            return banner;
        }

        public void setBanner(List<BannerBean> banner) {
            this.banner = banner;
        }

        public static class ShopBean implements Serializable{
            /**
             * shoppic : 11
             * shophead : 123
             * flag : 1
             * distance :
             * shopsale : 5
             * city :  1
             * latitude : 0.0
             * county :  1
             * opentime : 08:00
             * province :  1
             * addtime : {"date":6,"hours":22,"seconds":11,"month":1,"nanos":0,"timezoneOffset":-480,"year":118,"minutes":35,"time":1517927711000,"day":2}
             * shopname : 第一家饭店
             * shopid : 1
             * shopphone : 15230868185
             * shopstars : 5
             * longitude : 0.0
             * status : 3
             */

            private String shoppic;
            private String shophead;
            private String flag;
            private String distance;
            private int shopsale;
            private int average;
            private String city;
            private double latitude;
            private String county;
            private String opentime;
            private String province;
            private String shopname;
            private int shopid;
            private String shopphone;
            private int shopstars;
            private double longitude;
            private String status;
            private String address;
            private String content;

            public int getAverage() {
                return average;
            }

            public void setAverage(int average) {
                this.average = average;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public String getShoppic() {
                return shoppic;
            }

            public void setShoppic(String shoppic) {
                this.shoppic = shoppic;
            }

            public String getShophead() {
                return shophead;
            }

            public void setShophead(String shophead) {
                this.shophead = shophead;
            }

            public String getFlag() {
                return flag;
            }

            public void setFlag(String flag) {
                this.flag = flag;
            }

            public String getDistance() {
                return distance;
            }

            public void setDistance(String distance) {
                this.distance = distance;
            }

            public int getShopsale() {
                return shopsale;
            }

            public void setShopsale(int shopsale) {
                this.shopsale = shopsale;
            }

            public String getCity() {
                return city;
            }

            public void setCity(String city) {
                this.city = city;
            }

            public double getLatitude() {
                return latitude;
            }

            public void setLatitude(double latitude) {
                this.latitude = latitude;
            }

            public String getCounty() {
                return county;
            }

            public void setCounty(String county) {
                this.county = county;
            }

            public String getOpentime() {
                return opentime;
            }

            public void setOpentime(String opentime) {
                this.opentime = opentime;
            }

            public String getProvince() {
                return province;
            }

            public void setProvince(String province) {
                this.province = province;
            }

            public String getShopname() {
                return shopname;
            }

            public void setShopname(String shopname) {
                this.shopname = shopname;
            }

            public int getShopid() {
                return shopid;
            }

            public void setShopid(int shopid) {
                this.shopid = shopid;
            }

            public String getShopphone() {
                return shopphone;
            }

            public void setShopphone(String shopphone) {
                this.shopphone = shopphone;
            }

            public int getShopstars() {
                return shopstars;
            }

            public void setShopstars(int shopstars) {
                this.shopstars = shopstars;
            }

            public double getLongitude() {
                return longitude;
            }

            public void setLongitude(double longitude) {
                this.longitude = longitude;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

        }

        public static class BannerBean {
            /**
             * shoppic : 11
             * shophead : 123
             * flag : 1
             * distance :
             * shopsale : 5
             * city :  1
             * latitude : 0.0
             * county :  1
             * opentime : 08:00
             * province :  1
             * addtime : {"date":6,"hours":22,"seconds":11,"month":1,"nanos":0,"timezoneOffset":-480,"year":118,"minutes":35,"time":1517927711000,"day":2}
             * shopname : 第一家饭店
             * shopid : 1
             * shopphone : 15230868185
             * shopstars : 5
             * longitude : 0.0
             * status : 3
             */

            private String shoppic;
            private String shophead;
            private String flag;
            private String distance;
            private int shopsale;
            private String city;
            private double latitude;
            private String county;
            private String opentime;
            private String province;
            private String shopname;
            private int shopid;
            private String shopphone;
            private int shopstars;
            private double longitude;
            private String status;

            public String getShoppic() {
                return shoppic;
            }

            public void setShoppic(String shoppic) {
                this.shoppic = shoppic;
            }

            public String getShophead() {
                return shophead;
            }

            public void setShophead(String shophead) {
                this.shophead = shophead;
            }

            public String getFlag() {
                return flag;
            }

            public void setFlag(String flag) {
                this.flag = flag;
            }

            public String getDistance() {
                return distance;
            }

            public void setDistance(String distance) {
                this.distance = distance;
            }

            public int getShopsale() {
                return shopsale;
            }

            public void setShopsale(int shopsale) {
                this.shopsale = shopsale;
            }

            public String getCity() {
                return city;
            }

            public void setCity(String city) {
                this.city = city;
            }

            public double getLatitude() {
                return latitude;
            }

            public void setLatitude(double latitude) {
                this.latitude = latitude;
            }

            public String getCounty() {
                return county;
            }

            public void setCounty(String county) {
                this.county = county;
            }

            public String getOpentime() {
                return opentime;
            }

            public void setOpentime(String opentime) {
                this.opentime = opentime;
            }

            public String getProvince() {
                return province;
            }

            public void setProvince(String province) {
                this.province = province;
            }

            public String getShopname() {
                return shopname;
            }

            public void setShopname(String shopname) {
                this.shopname = shopname;
            }

            public int getShopid() {
                return shopid;
            }

            public void setShopid(int shopid) {
                this.shopid = shopid;
            }

            public String getShopphone() {
                return shopphone;
            }

            public void setShopphone(String shopphone) {
                this.shopphone = shopphone;
            }

            public int getShopstars() {
                return shopstars;
            }

            public void setShopstars(int shopstars) {
                this.shopstars = shopstars;
            }

            public double getLongitude() {
                return longitude;
            }

            public void setLongitude(double longitude) {
                this.longitude = longitude;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }
        }
    }
}

